package com.gitee.fastmybatis.spring.boot.autoconfigure.multi;

import org.springframework.context.annotation.ConditionContext;
import org.springframework.core.type.AnnotatedTypeMetadata;

/**
 * 单数据源条件判断
 * @author thc
 */
public class SingleDatasourceCondition extends MultiDatasourceCondition {
    @Override
    public boolean matches(ConditionContext conditionContext, AnnotatedTypeMetadata annotatedTypeMetadata) {
        return !super.matches(conditionContext, annotatedTypeMetadata);
    }
}
